package com.zzmltc.cmn;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

@Slf4j
@ServletComponentScan
@ComponentScan(basePackages = {"com.zzmltc"})
@SpringBootApplication(exclude = MongoAutoConfiguration.class)
@EnableDiscoveryClient
public class ServiceCmnApplicatio {
    public static void main(String[] args) {
        SpringApplication.run(ServiceCmnApplicatio .class,args);
        log.info("Service---Cmn项目启动");

    }

}
